package routers

import (
	"giv-vue-blog/api"
	"giv-vue-blog/middleware"
)

func (router RouterGroup) DiggRouter() {
	diggApi := api.ApiGroupApp.DiggApi
	router.POST("digg/article", middleware.JwtAuth(), diggApi.DiggArticleView)
	//router.GET("advert", middleware.JwtAuth(), advertApi.AdvertListView)
	//router.DELETE("advert", middleware.JwtAdmin(), advertApi.AdvertDelView)
	//router.PUT("advert/:id", middleware.JwtAdmin(), advertApi.AdvertUpdateView)

}
